<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Index</title>
<%@include file="/header.html"%>

</head>
<%String side_bar_page = basePath+"side_bar.jsp"; %>
<body>
	<div>
		<jsp:include page="/side_bar.jsp" flush="true" />
		<jsp:include page="/top_bar.jsp" flush="true" />

	</div>
	<form action="addAllocation.action" method="post">
		<table width="500" align="center">
			<caption>调出</caption>
			<tr height="26px">
				<td width="150px" align="right">调入部门</td>
				<td width="350px">
				<select name="deptid">
						<option value=""></option>
						<c:forEach var="dept" items="${depts}">
							<option value="${dept.deptid}">${dept.deptname}</option>
						</c:forEach>
				</select> 
								
				<!--  <input type="text" name="callindept" value="${dept.deptid}"
					dataType="Require" msg="输入不能为空" /> -->
				</td>
			</tr>

			<tr height="26px">
				<td width="150px" align="right">调出原因</td>
				<td width="350px">
				<input type="text" name="reason"
					dataType="Require" msg="输入不能为空" value="${dept.deptname}" />
				</td>
			<td hidden> 
			<input type="text" name="addtime"
					dataType="Require" msg="输入不能为空" value="2016-01-26 10:23:30" /></td>
					<td hidden> 
			<input type="text" name="assetuser"
					dataType="Require" msg="输入不能为空" value="${allocationuser}" /></td>
					<td hidden> 
			<input type="text" name="assetid"
					dataType="Require" msg="输入不能为空" value="${allocationassetid}" /></td>
			</tr>

			<tr height="26px">
				<td colspan="2" align="center">
				<input type="submit"
					value="提交" /> 
					
					<input type="button" value="返回"
					onclick="window.history.back(-1)" />
				</td>
			</tr>
		</table>
	</form>

<%@include file="../footer.html"%>


</body>
</html>
